package com.ruoyi.device.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 设备设施管理对象 device
 *
 * @author zjh
 * @date 2022-04-28
 */
public class Device extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备设施管理主键 */
    private Long deviceId;

    /** 公司id */
    @Excel(name = "共公司id")
    private Long companyId;

    /** 设施名称 */
    @Excel(name = "设施名称")
    private String deviceName;


    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    /** 设施名称 */
    @Excel(name = "公司名称")
    private String deptName;

    /** 数量 */
    @Excel(name = "数量")
    private Long deviceNum;

    /** 设施名称 */
    @Excel(name = "名称数量")
    private String deviceItem;

    public String getDeviceItem() {
        return deviceItem;
    }

    public void setDeviceItem(String deviceItem) {
        this.deviceItem = deviceItem;
    }

    public void setDeviceId(Long deviceId)
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId()
    {
        return deviceId;
    }
    public void setCompanyId(Long companyId)
    {
        this.companyId = companyId;
    }

    public Long getCompanyId()
    {
        return companyId;
    }
    public void setDeviceName(String deviceName)
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName()
    {
        return deviceName;
    }
    public void setDeviceNum(Long deviceNum)
    {
        this.deviceNum = deviceNum;
    }

    public Long getDeviceNum()
    {
        return deviceNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("deviceId", getDeviceId())
                .append("companyId", getCompanyId())
                .append("deviceName", getDeviceName())
                .append("deviceNum", getDeviceNum())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}